import Login from '../view/Login';
import Home from '../view/Home';
import One from '../view/one'

import { ErrorPage } from './ErrorPage';

export const routerConfig = [
    {
        path:'/',
        component: Home,
        auth:true,
    },{
        path:'/Home',
        component:Home,
        auth:true,
    },{
        path:'/login',
        component:Login,
    },
    {
        path:'/one',
        component:One
    },{
        path:'/404',
        component:ErrorPage
    },
];